const mongoose = require('mongoose');
var mongoosePaginate = require('mongoose-paginate');

var schema = new mongoose.Schema({ name: String, password: String, sex: String, age: Number, height: String, weight: String, like: Array, results: Number, country: String, city: String });
schema.plugin(mongoosePaginate);

var User = mongoose.model('User', schema); // Model.paginate()

module.exports = User;